<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>部门列表</title>
	<script type="text/javascript" 
	src="${ctx}/staticfile/js/datepicker/WdatePicker.js"></script>
</head>

<body>
<form name="icform" method="post" >

<div id="menubar">
<div id="middleMenubar">
<div id="innerMenubar">
  <div id="navMenubar">
<ul>
	
	<li id="new"><a href="#" onclick="window.history.go(-1)">返回</a></li>
	<li id="new"><a href="#" onclick="formSubmit('save','_self');this.blur();">提交</a></li>
</ul>
  </div>
</div>
</div>
</div>
   
  <div class="textbox-title">
	<img src="../../staticfile/skin/default/images/icon/currency_yen.png"/>
    增加用户
  </div> 
  
<div>


<div class="eXtremeTable" >
<table id="ec_table" class="tableRegion" width="98%" >
	<tr class="odd">
		<td>用户名</td>
		<td><input type="text" name="userName"/></td>
		<td>密码</td>
		<td><input type="text" name="password"/></td>
	</tr>
	
	<tr class="odd">
		<td>所属部门</td>
		<td>
		<select name="dept.deptId" style="width:121px;">
			<option>---请选择---</option>
			<c:forEach items="${deptList}" var="d">
				<option value="${d.deptId}">${d.deptName}</option>
			</c:forEach>
		</select>
		</td>
		<td>真实姓名</td>
		<td><input type="text" name="userInfo.name"/></td>
	</tr>
	
	<tr class="odd">
		<td>身份证号</td>
		<td><input type="text" name="userInfo.cardNo"/></td>
		<td>上级领导</td>
		<td><select name="userInfo.manager.userInfoId" style="width:121px;">
			<option>---请选择---</option>
			<c:forEach items="${userList}" var="u">
				<option value="${u.userId}">${u.userInfo.name}</option>
			</c:forEach>
		</select>
		</td>
	</tr>
	
	<tr class="odd">
		<td>入职时间</td>
		<td><input type="text" style="width:90px;" name="userInfo.joinDate"
	   		onclick="WdatePicker({el:this,isShowOthers:true,dateFmt:'yyyy-MM-dd'});"/>
		</td>
		<td>薪水</td>
		<td><input type="text" name="userInfo.salary"/></td>
	</tr>
	
	<tr class="odd">
		<td>生日</td>
		<td>
		<input type="text" style="width:90px;" name="userInfo.birthday"
	   		onclick="WdatePicker({el:this,isShowOthers:true,dateFmt:'yyyy-MM-dd'});"/>
		</td>
		<td>性别</td>
		<td>
		男<input type="radio" name="userInfo.gender" value="男"/>
		女<input type="radio" name="userInfo.gender" value="女"/>
		</td>
	</tr>
	<tr class="odd">
		<td>职位</td>
		<td><input type="text" name="userInfo.station"/></td>
		<td>电话</td>
		<td><input type="text" name="userInfo.telephone"/></td>
	</tr>
	
	<tr class="odd">
		<td>序号</td>
		<td><input type="text" name="userInfo.orderNo"/></td>
		<td>用户级别</td>
		<td><select name="userInfo.userLevel" style="width:121px;">
			<option value="" selected>---请选择---</option>
			<option value="1">总经理</option>
			<option value="2">副总</option>
			<option value="3">部门经理</option>
			<option value="4">普通用户</option>
		</select>
		</td>
	</tr>
	
	<tr class="odd">
		<td>备注信息</td>
		<td colspan="3"><textarea name="userInfo.remark" style="width:100%;height:120px" />请输入描述信息</textarea>
	</tr>
	
	<!-- private String userInfoId;
	private String name;
	private String cardNo;
	private UserInfo manager;
	private Date joinDate;
	private double salary;
	private Date birthday;
	private String gender;
	private String station;
	
	private String telephone;
	private String userLevel;//4-普通用户 3-部门经理 2-副总 1-总经理
	
	private String remark;
	private int orderNo; -->

</table>
</div>
 
</div>
 
 
</form>
</body>
</html>

